package com.gxsyh.nantie.refund.management.provider.service.impl;

import com.gxsyh.nantie.refund.management.provider.domain.UserRefundInfo;
import com.gxsyh.nantie.refund.management.provider.mapper.UserRefundInfoMapper;
import com.gxsyh.nantie.refund.management.provider.service.UserRefundInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserRefundInfoServiceImpl implements UserRefundInfoService {

    @Resource
    private UserRefundInfoMapper userRefundInfoMapper;

    @Override
    public UserRefundInfo byUserIdGetInfo(Long userId)
    {
       return userRefundInfoMapper.byUserIdGetInfo(userId);
    }

    @Override
    public UserRefundInfo byRefundIdGetInfo(Long refundId) {
        return userRefundInfoMapper.byRefundIdGetInfo(refundId);
    }
}
